package org.mcb.zebra.portal.resource;

import java.io.IOException;
import java.io.InputStream;

import javax.servlet.ServletContext;

import org.xml.sax.SAXException;

public abstract class ResourceConfigReader {
	public abstract void init();

	public abstract ResourceConfig getConfig(ServletContext context,
			String resource) throws IOException, SAXException;

	public abstract ResourceConfig getConfig(ServletContext context)
			throws IOException, SAXException;

	public abstract ResourceConfig getConfig(String resource)
			throws IOException, SAXException;

	public abstract ResourceConfig getConfig(InputStream inputStream,
			String resource) throws IOException, SAXException;

}